﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Declaration))]
    [ProtoContract]
    public class DeclarationDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public int user_id { get; set; }

        [ProtoMember(3)]
        public Decimal amount { get; set; }

        [ProtoMember(4)]
        public DateTime addtime { get; set; }

        [ProtoMember(5)]
        public String trade_no { get; set; }

        [ProtoMember(6)]
        public int status { get; set; }

        [ProtoMember(7)]
        public String remark { get; set; }

        [ProtoMember(8)]
        public Decimal xfmoney { get; set; }

        [ProtoMember(9)]
        public Decimal xfpoints { get; set; }

        [ProtoMember(10)]
        public int bduser_id { get; set; }

        [ProtoMember(11)]
        public int levels { get; set; }

        [ProtoMember(12)]
        public DateTime? checktime { get; set; }

        [ProtoMember(13)]
        public string checkremark { get; set; }

        [ProtoMember(14)]
        public Decimal zsgolds { get; set; }

        [ProtoMember(15)]
        public Decimal returngolds { get; set; }

        [ProtoMember(16)]
        public int returnstatus { get; set; }

        [ProtoMember(17)]
        public int bdtype { get; set; }

        [ProtoMember(18)]
        public Decimal currentbj { get; set; }

        [ProtoMember(19)]
        public Decimal daygold { get; set; }

        [ProtoMember(20)]
        public Decimal canlqgold { get; set; }

        [ProtoMember(21)]
        public DateTime? starttime { get; set; }

        [ProtoMember(22)]
        public DateTime? endtime { get; set; }

        [ProtoMember(23)]
        public CustomerDto CustomerItem { get; set; }

    }
}
